import 'package:freezed_annotation/freezed_annotation.dart';

import 'week_sign_in_log.dart';

part 'sign_in_info_model.freezed.dart';
part 'sign_in_info_model.g.dart';

@freezed
class SignInInfoModel with _$SignInInfoModel {
  factory SignInInfoModel({
    int? integral,
    int? signCount,
    List<WeekSignInLog>? weekSignInLogs,
  }) = _SignInInfoModel;

  factory SignInInfoModel.fromJson(Map<String, dynamic> json) =>
      _$SignInInfoModelFromJson(json);
}
